package manager

import "sync"

var (
	SceneManager *sceneManager
	sceneManagerOnce sync.Once
)

type (
	sceneManager struct {
		BaseManager
	}

	SceneType int


)

const (
	_ SceneType = iota

	//主城
	StCity = 1

	//野外
	StField = 2

	//副本
	StCopy = 3

	//离线竞技场
	StOfflineArena = 4

	//可pvp的野外
	StPvpField = 5

	//在线竞技场
	StOnlineArena = 6

	//监狱场景
	StPrison = 7

	//城市副本
	StCopyCity = 8
)

/**
场景管理器
 */
func NewSceneManager() *sceneManager {
	sceneManagerOnce.Do(func() {
		SceneManager = &sceneManager{}
	})
	return SceneManager
}

func (p *sceneManager) Init()  {
	p.BaseManager.Init()
}

